[INFO] cloning repository https://github.com/ablakey/gameboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ablakey/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc2abcae57f271cb7873f9fd5cc77cd6e30fb4d1
[INFO] building ablakey/gameboy against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ablakey/gameboy on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ablakey/gameboy
[INFO] finished tweaking git repo https://github.com/ablakey/gameboy
[INFO] tweaked toml for git repo https://github.com/ablakey/gameboy written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/ablakey/gameboy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ccba931563fe1a7d6b7e425ad188156a4ef74b6bef1bdbe33b6ce7507e8b190
[INFO] running `Command { std: "docker" "start" "-a" "4ccba931563fe1a7d6b7e425ad188156a4ef74b6bef1bdbe33b6ce7507e8b190", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ccba931563fe1a7d6b7e425ad188156a4ef74b6bef1bdbe33b6ce7507e8b190", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ccba931563fe1a7d6b7e425ad188156a4ef74b6bef1bdbe33b6ce7507e8b190", kill_on_drop: false }`
[INFO] [stdout] 4ccba931563fe1a7d6b7e425ad188156a4ef74b6bef1bdbe33b6ce7507e8b190
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f49bda22d8d8549a6d9592616918c3c33d1775db45df1dd47537c107f3e668a
[INFO] running `Command { std: "docker" "start" "-a" "4f49bda22d8d8549a6d9592616918c3c33d1775db45df1dd47537c107f3e668a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling libc v0.2.90
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling sdl2 v0.33.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling c_vec v1.3.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling pretty-hex v0.2.1
[INFO] [stderr]    Compiling sdl2-sys v0.33.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling gameboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]    --> src/guest/mmu/apu.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn rb(&self, address: u16) -> u8 {
[INFO] [stdout]     |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_enabled`
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         length_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `square1`, `square2` and `wave` are never read
[INFO] [stdout]   --> src/guest/systems/apu/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct APU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 14 |     clock: usize,
[INFO] [stdout] 15 |     square1: SquareVoice,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     square2: SquareVoice,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     wave: WaveVoice,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DUTY_CYCLES` is never used
[INFO] [stdout]  --> src/guest/systems/apu/square.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DUTY_CYCLES: [[i32; 8]; 4] = [
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clock`, `duty_phase` and `volume` are never read
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SquareVoice {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     clock: usize,      // Track where we are in playing the current phase of the duty_cycle.
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     duty_phase: usize, // Track which of the 8 steps in the current duty cycle we're playing.
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     volume: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tick` is never used
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn tick(
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OUTPUT_VOLUME` is never used
[INFO] [stdout]  --> src/guest/systems/apu/wave.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const OUTPUT_VOLUME: [f32; 4] = [0.0, 1.0, 0.5, 0.25];
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clock` and `sample_index` are never read
[INFO] [stdout]  --> src/guest/systems/apu/wave.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct WaveVoice {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 7 |     clock: usize,        // Track where we are in playing the current wave sample.
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     sample_index: usize, // Current sample (0-31) being played.
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tick` is never used
[INFO] [stdout]   --> src/guest/systems/apu/wave.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn tick(&mut self, mmu: &MMU) -> f32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcnOCe8e/symbols.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.2c6233ab-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.3pz6x22ylb706yg7.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-3833d7b1dcdc9353.rlib" "/opt/rustwide/target/debug/deps/libryu-8c106c7dece5fbd0.rlib" "/opt/rustwide/target/debug/deps/libitoa-844153741323d3c4.rlib" "/opt/rustwide/target/debug/deps/libserde-5d4ae5dbb76242d4.rlib" "/opt/rustwide/target/debug/deps/libsdl2-4381ac106705a6a9.rlib" "/opt/rustwide/target/debug/deps/libc_vec-e96f7ea073c23814.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-64e6cfe4f6250743.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/liblibc-7907b80fad2ca004.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a675e4c0b2cd6d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e3f6eac8ce8ba973.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-2ffa3867147f09fb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-35bed922aa32bbbd.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ef53e65a7b7a39e5.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1958e7589a0c42f1.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8c399cda3a205286.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-200a824b7fd3ccbb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ed4f57a507f0fd5e.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3ea91f47fd49275a.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-1cb2e84ee1721c57.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ef26b6b8a99daec3.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5e482ea522915d9c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a9e7dd5405efd2c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f728cf9374526084.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b5714e1182296022.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69100093739463c8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-95c4e3e80ce883d8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d83ba1fe54f1e3d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9e21114b6170ad54.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_gfx" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_gfx
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gameboy` due to 2 previous errors; 9 warnings emitted
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4f49bda22d8d8549a6d9592616918c3c33d1775db45df1dd47537c107f3e668a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f49bda22d8d8549a6d9592616918c3c33d1775db45df1dd47537c107f3e668a", kill_on_drop: false }`
[INFO] [stdout] 4f49bda22d8d8549a6d9592616918c3c33d1775db45df1dd47537c107f3e668a
